/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 * 描述: TODO <br/>
 *
 * @author framework generator
 * @date 2022年03月01日
 * @version 2.0
 */
package com.icinfo.cloud.provider.punish.ucase.payment.mapper;

import com.icinfo.cloud.provider.punish.ucase.payment.dto.CasePaymentBillQueryDto;
import com.icinfo.cloud.provider.punish.ucase.payment.dto.CasePaymentMainRecordQueryDto;
import com.icinfo.cloud.provider.punish.ucase.payment.model.CasePaymentMainRecord;
import com.icinfo.cloud.provider.punish.ucase.payment.vo.CasePaymentBillDicVo;
import com.icinfo.cloud.provider.punish.ucase.payment.vo.CasePaymentBillListVo;
import com.icinfo.cloud.provider.punish.ucase.payment.vo.CasePaymentMainRecordVo;
import com.icinfo.framework.mybatis.mapper.common.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 描述:  case_payment_main_record 对应的Mapper接口.<br>
 *
 * @author framework generator
 * @date 2022年03月01日
 */
public interface CasePaymentMainRecordMapper extends Mapper<CasePaymentMainRecord> {

    /**
     * 描述：查询缴款单信息
     *
     * @param queryDto {@link CasePaymentMainRecordQueryDto}
     * @return {@link List <CasePaymentMainRecordVo>} 缴款单信息
     * @author xiangyuyu
     * @date 2022-03-01 16:51
     */
    List<CasePaymentMainRecordVo> selectPaymentChannelConfigInfo(CasePaymentMainRecordQueryDto queryDto);

    /**
     * 查询缴款单分页列表
     * @param queryDto
     * @return
     */
    List<CasePaymentBillListVo> queryPaymentBillPageList(CasePaymentBillQueryDto queryDto);

    /**
     * 获取result表中缴款支付方式的list
     * @return
     */
    List<CasePaymentBillDicVo> getPaymentWayList();

    /**
     * 获取result表中缴款支付机构的list
     * @return
     */
    List<CasePaymentBillDicVo> getPaymentTradeList();

    /**
     * 根据案件ID和当事人ID获取信息
     * @param caseId
     * @param partyId
     * @return
     */
    CasePaymentMainRecord getInfoByCaseIdAndPartyId(@Param("caseId") String caseId, @Param("partyId") String partyId);
}